package com.newcapce.news.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Result<T>{
    private int code;  //200表示成功
    private String msg; //结果信息
    private T data; //结果数据
}
